package errcode

var (
	Success                  = NewError(0, "成功")
	ServerError              = NewError(500, "服务器内部出错")
	InvalidParams            = NewError(400, "参数错误")
	NotFound                 = NewError(404, "路由不存在")
	UnauthorizedAuthNotExist = NewError(401, "鉴权失败")
	UnauthorizedTokenTimeout = NewError(405, "token已过期")
	UnauthorizedTokenError   = NewError(403, "没有权限")
	Timeout                  = NewError(504, "连接超时")
	TooManyConnect           = NewError(502, "请求过多")
)
